package com.fulihui.common.enums;

/**
 * 关注回复类型
 *
 * @author wang_wx
 * @date 2018-07-24
 */
public enum SubReplyTypeEnum implements BaseEnum {

    text(1, "text", "文本"),
    image(2, "image", "图片"),
    news(3, "news", "图文");

    private Integer value;
    private String code;
    private String desc;

    SubReplyTypeEnum(Integer value, String code, String desc) {
        this.value = value;
        this.code = code;
        this.desc = desc;
    }

    public long getValue() {
        return value.intValue();
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
